import request from '@/utils/request'


export function alterationCheckList(data) { //变更验收-列表
    return request({
        url: '/project-management/api/change/acceptance/change/acceptance/page',
        method: 'post',
        data
    })
}
export function alterationCheckAdd(data) { //变更验收-添加
    return request({
        url: '/project-management/api/change/acceptance',
        method: 'POST',
        data
    })
}
//原 put
export function alterationCheckEdit(data) { //变更验收-修改
    return request({
        url: '/project-management/api/change/acceptance/put',
        method: 'post',
        data
    })
}
export function alterationCheckDetail(id) { //变更验收-单条查询
    return request({
        url: '/project-management/api/change/acceptance/'+id,
        method: 'get',
    })
}
//原 del
export function alterationCheckDelete(id) { //变更验收-单条查询删除
    return request({
        url: '/project-management/api/change/acceptance/del/'+id,
        method: 'get',
    })
}
export function alterationCheckAllNum() { //变更验收-查询计划编号
    return request({
        url: '/project-management/api/change/request/change/request',
        method: 'POST',
    })
}

export function alterationCheckExport(data) { //变更验收-导出
    return request({
      url: '/project-management/api/change/acceptance/export' ,
      responseType: 'arraybuffer',
      method: 'post',
      data,
    })
  }





